package com.cloudbroker.bcs.platform.dav.bizapi.service.business.wechat.vo;

import com.cloudbroker.bcs.common.validatioin.annotation.Length;
import com.cloudbroker.bcs.common.validatioin.annotation.NotBlank;
import com.cloudbroker.bcs.platform.dav.bizapi.service.base.vo.HSBCPSVO;

public class WechatCode extends HSBCPSVO {
    
    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 1L;
    
    @NotBlank
    @Length(max = 128)
    private String code;
    
    @NotBlank
    @Length(max = 32)
    private String broker_key;
    
    public String getCode() {
        return code;
    }
    
    public void setCode(String code) {
        this.code = code;
    }
    
    public String getBroker_key() {
        return broker_key;
    }
    
    public void setBroker_key(String broker_key) {
        this.broker_key = broker_key;
    }
    
    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("WechatCode [code=").append(code).append(", broker_key=").append(broker_key)
                .append(", user_token=").append(user_token).append(", tenant_id=").append(tenant_id).append("]");
        return builder.toString();
    }
    
}
